/**
 * 
 */
package com.googlecode.simplexer.io.implementation;

import com.googlecode.simplexer.io.*;

/**
 * @author Administrator
 *
 */
public class StringCharOutputSequence implements CharOutputSequence {

	protected StringBuffer buffer = new StringBuffer();
	
	public void append(char chr) {
		buffer.append(chr);
	}

	/* (non-Javadoc)
	 * @see net.sourceforge.simplexer.io.StringStream#append(java.lang.String)
	 */
	public void append(String stream) {
		buffer.append(stream);
	}
	
	public String toString() {
		return buffer.toString();
	}

	public void close() {
		
	}

}
